{% extends "base.html" %}

{% block title %}商职表白墙-主页{% endblock %}
{% block link %}rel="shortcut icon" href="../static/images/icon/index.png" type="image/x-icon"{% endblock %}

{% block head %}{% endblock %}

{% block body %}
    <div class="row" style="margin-top: 102px;">
            <div class="col"></div>
            <div class="col-10">
                <ul class="question-ul">
                    {% for question in questions %}
                        <li>
                            <div class="side-question">
                                <img class="side-question-avatar" src="{{ url_for('static', filename='images/img/Google_Ax.png') }}" alt="">
                            </div>
                            <div class="question-main">
                                <div class="question-title"><a href="{{ url_for('Post.qa_detail', qa_id=question.id) }}">{{ question.title }}</a></div>
                                <div class="question-content">
                                    {{ question.content }}
                                </div>
                                <div class="question-detail">
                                    <span class="question-author">{{ question.author.username }}</span>
                                    <span class="question-time">{{ question.create_time }}</span>
                                </div>
                            </div>
                        </li>
                    {% endfor %}
                </ul>
            </div>
            <div class="col"></div>
        </div>

{#    <div class="row" style="margin-top: 20px;">#}
{#            <div class="col"></div>#}
{#            <div class="col-10">#}
{#                <ul class="question-ul">#}
{#                    <li>#}
{#                        <div class="side-question">#}
{#                            <img class="side-question-avatar" src="../static/images/3.jpg" alt="">#}
{#                        </div>#}
{#                        <div class="question-main">#}
{#                            <div class="question-title"><a href="#">CPDD</a></div>#}
{#                            <div class="question-content">本人没什么要求...</div>#}
{#                            <div class="question-detail">#}
{#                                <span class="question-author">爱而不得</span>#}
{#                                <span class="question-time">2023年8月30日</span>#}
{#                            </div>#}
{#                        </div>#}
{#                    </li>#}
{#                </ul>#}
{#            </div>#}
{#            <div class="col"></div>#}
{#        </div>#}
{##}
{#    <div class="row" style="margin-top: 20px;">#}
{#            <div class="col"></div>#}
{#            <div class="col-10">#}
{#                <ul class="question-ul">#}
{#                    <li>#}
{#                        <div class="side-question">#}
{#                            <img class="side-question-avatar" src="../static/images/4.jpg" alt="">#}
{#                        </div>#}
{#                        <div class="question-main">#}
{#                            <div class="question-title"><a href="#">现在还有真爱吗？</a></div>#}
{#                            <div class="question-content">当代纯爱战士应声倒地...</div>#}
{#                            <div class="question-detail">#}
{#                                <span class="question-author">纯爱战士</span>#}
{#                                <span class="question-time">2023年8月30日</span>#}
{#                            </div>#}
{#                        </div>#}
{#                    </li>#}
{#                </ul>#}
{#            </div>#}
{#            <div class="col"></div>#}
{#        </div>#}
{##}
{#    <div class="row" style="margin-top: 20px;">#}
{#            <div class="col"></div>#}
{#            <div class="col-10">#}
{#                <ul class="question-ul">#}
{#                    <li>#}
{#                        <div class="side-question">#}
{#                            <img class="side-question-avatar" src="../static/images/5.jpg" alt="">#}
{#                        </div>#}
{#                        <div class="question-main">#}
{#                            <div class="question-title"><a href="#">找男朋友，在线等</a></div>#}
{#                            <div class="question-content">要求：月入过万，有车有房，身高一米八...</div>#}
{#                            <div class="question-detail">#}
{#                                <span class="question-author">网络女神</span>#}
{#                                <span class="question-time">2023年8月30日</span>#}
{#                            </div>#}
{#                        </div>#}
{#                    </li>#}
{#                </ul>#}
{#            </div>#}
{#            <div class="col"></div>#}
{#        </div>#}
{##}
{#    <div class="row" style="margin-top: 20px;">#}
{#            <div class="col"></div>#}
{#            <div class="col-10">#}
{#                <ul class="question-ul">#}
{#                    <li>#}
{#                        <div class="side-question">#}
{#                            <img class="side-question-avatar" src="../static/images/6.jpg" alt="">#}
{#                        </div>#}
{#                        <div class="question-main">#}
{#                            <div class="question-title"><a href="#">学姐学长们，什么时候开学啊？</a></div>#}
{#                            <div class="question-content">都8月28号了，什么时候开学啊...</div>#}
{#                            <div class="question-detail">#}
{#                                <span class="question-author">显眼包</span>#}
{#                                <span class="question-time">2023年8月28日</span>#}
{#                            </div>#}
{#                        </div>#}
{#                    </li>#}
{#                </ul>#}
{#            </div>#}
{#            <div class="col"></div>#}
{#        </div>#}
{% endblock %}
